﻿using MediatR;
using ProduceBasicData.Api.DTO.ProductionManage;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.ProductionManage.Repost
{
    public class GetReportCommand:IRequest<ApiPaging<ShowReportdto>>
    {
        /// <summary>
        /// 报工编号
        /// </summary>
        public string? Report_no { get; set; }
        public int OrderId { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string? Order_no { get; set; }
        /// <summary>
        /// 工序编码
        /// </summary>
        public string? CraftNo { get; set; }
        /// <summary>
        /// 工艺路线名称
        /// </summary>
        public string? CraftName { get; set; }
        /// <summary>
        /// 报工日期
        /// </summary>
        public string? Production_time { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? Product_no { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? Product_name { get; set; }
        /// <summary>
        /// 报工状态 1已提交,2待审批,3已完成
        /// </summary>
        public int Report_status { get; set; }
        /// <summary>
        /// 计划生产数量
        /// </summary>
        public int Plan_qty { get; set; }
       

        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
